import request from '@/utils/requestMd5'

export function standard_index(params) {
  return request({
    // url: '/standard/index',
    url: '/goods/standardList',
    method: 'get',
    params
  })
}

//非标准库
export function nonstandard_index(params) {
  return request({
    // url: '/nonstandard/index',
    url: '/goods/nonStandardList',
    method: 'get',
    params
  })
}

export function standard_info(params) {
  return request({
    url: '/standard/info',
    method: 'get',
    params
  })
}

export function nonstandard_info(params) {
  return request({
    url: '/nonstandard/info',
    method: 'get',
    params
  })
}

export function standard_import(data) {
  return request({
    url: '/standard/import',
    method: 'post',
    data:data
  })
}

export function nonstandard_import(data) {
  return request({
    url: '/nonstandard/import',
    method: 'post',
    data:data
  })
}

export function standard_batchImport(data) {
  return request({
    url: '/standard/batchImport',
    method: 'post',
    data:data
  })
}

export function nonstandard_batchImport(data) {
  return request({
    url: '/nonstandard/batchImport',
    method: 'post',
    data:data
  })
}


